{* $Id: index.html 24806 2013-04-22 08:43:28Z weisd $ *} {include_core
file="admin/lib/header.html"}
<div class="row-fluid sortable ui-sortable">
    <div class="box span12">
        <div class="box-header well" data-original-title="">
            <h2>
                <i class="icon-user"></i> 企业列表
            </h2>
        </div>
        <div class="box-content">
            <div id="DataTables_Table_1_wrapper" class="dataTables_wrapper"
                role="grid">
                <div class="row-fluid">
                    <div class="span6">
                        <div id="DataTables_Table_1_length" class="dataTables_length">
                            <label><select size="1" name="DataTables_Table_1_length"
                                aria-controls="DataTables_Table_1"><option value="10"
                                        selected="selected">10</option>
                                    <option value="25">25</option>
                                    <option value="50">50</option>
                                    <option value="100">100</option></select> records per page</label>
                        </div>
                    </div>
                    <div class="span6">
                        <div class="dataTables_filter" id="DataTables_Table_1_filter">
                            <label>Search: <input type="text"
                                aria-controls="DataTables_Table_1"></label>
                        </div>
                    </div>
                </div>
                <table
                    class="table table-striped table-bordered bootstrap-datatable datatable dataTable"
                    id="DataTables_Table_1" aria-describedby="DataTables_Table_1_info">
                    <thead>
                        <tr role="row">
                            <th class="sorting_asc" role="columnheader" tabindex="0"
                                aria-controls="DataTables_Table_1" rowspan="1" colspan="1"
                                style="width: 108px;" aria-sort="ascending"
                                aria-label="Username: activate to sort column descending">ID</th>
                            <th class="sorting" role="columnheader" tabindex="0"
                                aria-controls="DataTables_Table_1" rowspan="1" colspan="1"
                                style="width: 306px;"
                                aria-label="Date registered: activate to sort column ascending">企业名称</th>
                            <th class="sorting" role="columnheader" tabindex="0"
                                aria-controls="DataTables_Table_1" rowspan="1" colspan="1"
                                style="width: 199px;"
                                aria-label="Role: activate to sort column ascending">注册邮箱</th>
                            <th class="sorting" role="columnheader" tabindex="0"
                                aria-controls="DataTables_Table_1" rowspan="1" colspan="1"
                                style="width: 99px;"
                                aria-label="Role: activate to sort column ascending">注册时间</th>
                            <th class="sorting" role="columnheader" tabindex="0"
                                aria-controls="DataTables_Table_1" rowspan="1" colspan="1"
                                style="width: 60px;"
                                aria-label="Status: activate to sort column ascending">状态</th>
                            <th class="sorting" role="columnheader" tabindex="0"
                                aria-controls="DataTables_Table_1" rowspan="1" colspan="1"
                                style="width: 157px;"
                                aria-label="Actions: activate to sort column ascending">操作</th>
                        </tr>
                    </thead>

                    <tbody role="alert" aria-live="polite" aria-relevant="all">
                    {foreach $company_list as $k=>$v}
                        <tr class="odd">
                            <td class="  sorting_1">{$v.id}</td>
                            <td class="center ">{$v.title}</td>
                            <td class="center ">{$v.email}</td>
                            <td class="center ">{time_format($v.add_time, 'Y-m-d')}</td>
                            <td class="center "><span class="label label-important">Banned</span></td>
                            <td class="center ">
                                <a class="btn btn-info" href="#"> <i class="icon-edit icon-white"></i> 编辑</a> 
                                <a class="btn btn-danger" href="#"> <i class="icon-trash icon-white"></i> 删除</a>
                            </td>
                         </tr>
                    {/foreach}
                    </tbody>
                </table>
                {include_core file="admin/lib/pager.html"}
            </div>
        </div>
    </div>
    <!--/span-->

</div>
{include_core file="admin/lib/footer.html"}
